package com.xj.common.bussiness.machinery.mapper;

import com.xj.common.bussiness.machinery.entity.TbMachineryInfo;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
  *  Mapper 接口
 * </p>
 *
 * @author Hmemb
 * @since 2017-11-18
 */
public interface TbMachineryInfoMapper extends BaseMapper<TbMachineryInfo> {

    List<TbMachineryInfo> searchMachineryInfoList (TbMachineryInfo tbMachineryInfo);

    /**
     * 根据身份证查询档案表信息
     * @param identityNum
     * @return
     */
    TbMachineryInfo selectIdentityNum(@Param("identityNum") String identityNum);
}